// src/config/http.ts
import axios from 'axios'

const http = axios.create({
  baseURL: import.meta.env.VUE_APP_API_DOMAIN || '/api',
  timeout: 10000,
  headers: {
    clientType: 'haierMall',
    'Content-Type': 'application/json;charset=UTF-8'
  }
})

export default http